using MediatR;
using RBAC.ErrorCode;
using RBAC.Domain.Dto.Output;
using System;

namespace RBAC.Read.Api.Application.Command.ERP.PurchasingManagement.PurchaseInvoicefolder
{
    public class GetPurchaseInvoiceCommands : IRequest<APIPaging<PurchaseInvoiceListDto>>
    {
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 10;

        // 可选筛选条件
        public string? DocumentCode { get; set; }
        public long? SupplierId { get; set; }
        public DateTime? InvoiceDateStart { get; set; }
        public DateTime? InvoiceDateEnd { get; set; }
    }
}
